package com.wz.controller;

import com.wz.common.bean.ResultBean;
import com.wz.common.controller.BaseController;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 86150
 */
@RestController
@RequestMapping
public class HelloWord extends BaseController {
	@RequestMapping("/helloword")
	public ResultBean helloword() {
		return success("helloword");
	}

	@Transactional
	@GetMapping("/gethelloword")
	public String gethelloword() {
		return "gethelloword";
	}

}
